package com.phiture.erp.stock.api.pojo.req;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author YH
 * @date 2025/4/13
 */

@Data
public class ErpStockOutReq {
    private Long id;

    private Long customerId;

    private LocalDateTime outTime;

    private String remark;

    private Integer outType;

    private String fileUrl;

    private Long creator;

    private List<Item> items;

    @Data
    public static class Item {

        private Long id;

        private Long warehouseId;

        private Long materialId;

        private BigDecimal materialPrice;

        private BigDecimal count;

        private String remark;

        private String sourceBillNo;

        private Long sourceBillId;

        private Long sourceBillItemId;

        private Long creator;
    }
}
